package com.pmcc.cj.repository;

import com.pmcc.cj.entity.CjCommodityYunDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by tomas on 2020/9/30.
 */
public interface CjCommodityYunDetailRepository extends JpaRepository<CjCommodityYunDetail,String> {
    void deleteByCommodityYunId(String commodityYunId);
    List<CjCommodityYunDetail> findByCommodityYunId(String yunId);
}
